package com.example.workoutjournal;

public class Exercise {
	private Integer exerciseID;
	private String exerciseName;
	private Integer repetitions;
	private Integer weight;
	private Integer sets;
	private Integer setID;
	
	public String getID(){
		return exerciseID.toString();
	}
	public Integer getSetID(){
		return setID;
	}
	public String getName(){
		return exerciseName;
	}
	public Integer getRepetitions(){
		return repetitions;
	}
	public Integer getWeight(){
		return weight;
	} 
	public Integer getSets(){
		return sets;
	}
	public void setID(Integer x){
		this.exerciseID = x;
	}
	public void setName(String newName){
		this.exerciseName = newName;
	}
	public void setRepetitions(Integer x){
		this.repetitions = x;
	}
	public void setWeight(Integer x){
		this.weight = x;
	}
	public void setSets(Integer x){
		this.sets = x;
	}
	public void setSetID(Integer x){
		this.setID = x;
	}
	public String toString(){
		return exerciseName;
	}
	
	public String showInfo(){
		return exerciseName+"\n"+"Repetitions: "+repetitions+"\n"+"Sets: "+sets+"\n"+"Weight: "+weight;
	}
}
